package net.borderwars.sdk;

/**
 * @author hubbard
 *         Date: May 12, 2006
 *         Time: 10:36:38 AM
 */
abstract public class Robot {
    public abstract void start ();

    protected abstract Engine getEngine ();

    protected abstract Weapon getWeapon ();

    final public int getX () {
        System.out.println ("called getX");
        return (100);
    }

    final public int getY () {
        System.out.println ("called getY");
        return (100);
    }

    final public void drive (int direction, int speed) {
        System.out.println ("Drive");

    }

    final public void cannon (int direction, int range) {
        System.out.println ("Cannon");
    }

    final public int scan (int direction, int swath) {
        System.out.println ("Scan");
        return (20);
    }

    public int getId () {
        return (100);
    }
}
